package com.gz.moreaseManager.sys.mapper;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.gz.moreaseManager.sys.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author wike
 * @since 2019-02-19
 */
public interface UserMapper extends BaseMapper<User> {

    int updateUserStatusBatchById(Map params);

    List<User> findPageByParams(Page page, @Param("ew")EntityWrapper<User> entityWrapper);

}
